package com.example.entity;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author readpage
 * @create 2022-09-09 21:46
 */

@Data
@Accessors(chain = true)
public class User {

    private Integer id;

    private String name;

    private String sex;

    private Integer age;

    private String mail;

    public User() {
        super();
    }

    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public User(Integer id, String name, String sex, Integer age, String mail) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.mail = mail;
    }
}
